home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
amiga
/
mpeg
/
mpg2dctv.lzh
/
fast.doc
next >
Wrap
Text File
|
1993-04-11
|
3KB
|
55 lines
The latest update to 'mpeg2dctv' now features two new dither options,
-fast and -fastc. These options take the data output by the MPEG
software, and convert the data directly to DCTV output using a routine
I wrote, as opposed to the -color and default dither options, which
convert the MPEG data to RGB, then use the dctv.library routines to
convert the RGB data to DCTV output. The -fast and -fastc routines are
based upon the work of Allen Braunsdorf, whose DCTV code served as the
starting point and inspiration for my routines.
The two fast dither options are as follows:
-fast This will take MPEG luminance data and convert directly
to DCTV luminance values. It _does_ _not_ write the
DCTV luminance values in standard DCTV format. Instead,
this option is optimized to display as quickly as possible.
The output will be displayed properly by the DCTV hardware,
but _cannot_ be loaded by Digital Creations' software.
However, all other display programs (superview, display,
m, etc.) will display the pictures output by this option.
Further, the output can be converted to anim format, and
will actually create anims significantly SMALLER than anims
created from standard DCTV pictures. On a 25MhZ Amiga 3000,
the -fast dither option will average about 2.5 frames/second
for a 160x120 MPEG stream, and about 0.9 frames/second for
a 352x240 MPEG stream. The -fast dither option's pixel
write speed is around 860,000 DCTV pixels per second.
-fastc This will take MPEG luminance and chrominance data, convert
directly to DCTV luminance and chrominance values, and create
a DCTV display from the DCTV luminance and chrominance values.
It will write the output in standard DCTV format. It is not
as fast as it could be, because it is necessary to bound check
for MPEG streams which contain "NTSC illegal" colors, that is,
colors which have RGB values too close to 255, which create
oversaturated NTSC colors, and in certain instances, go
beyond the boundaries of the DCTV display format, creating
unsightly artifacts. On a 25 MhZ Amiga 3000, the -fastc
dither option will average about 1.9 frames/second for a
160x120 MPEG stream, and about 0.75 frames/second for a
352x240 MPEG stream. The -fastc option's pixel write speed
is around 400,000 DCTV pixels per second.
Special thanks to Allan Braunsdorf, whose information about the DCTV
display format and the DCTV raw format allowed me to create routines to
bypass the dctv.library and write directly to a DCTV display.
-Benjamin Reich
Portal: Counsellor
Delphi: BEN_RICH
Usenet: Counsellor@cup.portal.com
U.S. mail: 805 Lincoln Drive
Voorhees, NJ 08043